<template>
  <div>正在注销...</div>
</template>
<script>
import Oidc from "oidc-client";

const mgr = new Oidc.UserManager();

export default {
  name: "SignoutCallbackOidc",
  data() {
    return {
      mgr: mgr
    };
  },
  created() {
    this.$store.dispatch('auth/removeToken')
      .then(() => {
        this.$router.push({ path: '/' })
      })
  }
};
</script>
